#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2021/12/21 13:13
    Desc  :
--------------------------------------
"""


nav_data = [
    {
        "name":"dashboard",
        "parentId":0,
        "id":1,
        "meta":{
            "icon":"dashboard",
            "title":"仪表盘",
            "show":True
        },
        "component":"RouteView",
        "redirect":"/dashboard/workplace"
    },
    {
        "name":"workplace",
        "parentId":1,
        "id":7,
        "meta":{
            "title":"工作台",
            "show":True
        },
        "component":"Workplace"
    },
    {
        "name":"monitor",
        "path":"https://www.baidu.com/",
        "parentId":1,
        "id":3,
        "meta":{
            "title":"监控页（外部）",
            "target":"_blank",
            "show":True
        }
    },
    {
        "name":"Analysis",
        "parentId":1,
        "id":2,
        "meta":{
            "title":"分析页",
            "show":True
        },
        "component":"Analysis",
        "path":"/dashboard/analysis"
    },
    {
        "name":"list",
        "parentId":0,
        "id":10010,
        "meta":{
            "icon":"table",
            "title":"列表页",
            "show":True
        },
        "redirect":"/list/table-list",
        "component":"RouteView"
    },
    {
        "name":"table-list",
        "parentId":10010,
        "id":10011,
        "path":"/list/table-list/:pageNo([1-9]\d*)?",
        "meta":{
            "title":"查询表格",
            "show":True
        },
        "component":"TableList"
    },
    {
        "name":"basic-list",
        "parentId":10010,
        "id":10012,
        "meta":{
            "title":"标准列表",
            "show":True
        },
        "component":"StandardList"
    },
    {
        "name":"card",
        "parentId":10010,
        "id":10013,
        "meta":{
            "title":"卡片列表",
            "show":True
        },
        "component":"CardList"
    },
    {
        "name":"search",
        "parentId":10010,
        "id":10014,
        "meta":{
            "title":"搜索列表",
            "show":True
        },
        "redirect":"/list/search/article",
        "component":"SearchLayout"
    },
    {
        "name":"article",
        "parentId":10014,
        "id":10015,
        "meta":{
            "title":"搜索列表（文章）",
            "show":True
        },
        "component":"SearchArticles"
    },
    {
        "name":"project",
        "parentId":10014,
        "id":10016,
        "meta":{
            "title":"搜索列表（项目）",
            "show":True
        },
        "component":"SearchProjects"
    },
    {
        "name":"application",
        "parentId":10014,
        "id":10017,
        "meta":{
            "title":"搜索列表（应用）",
            "show":True
        },
        "component":"SearchApplications"
    },
    {
        "name":"profile",
        "parentId":0,
        "id":10018,
        "meta":{
            "title":"详情页",
            "icon":"profile",
            "show":True
        },
        "redirect":"/profile/basic",
        "component":"RouteView"
    },
    {
        "name":"basic",
        "parentId":10018,
        "id":10019,
        "meta":{
            "title":"基础详情页",
            "show":True
        },
        "component":"ProfileBasic"
    },
    {
        "name":"advanced",
        "parentId":10018,
        "id":10020,
        "meta":{
            "title":"高级详情页",
            "show":True
        },
        "component":"ProfileAdvanced"
    },
    {
        "name":"result",
        "parentId":0,
        "id":10021,
        "meta":{
            "title":"结果页",
            "icon":"check-circle-o",
            "show":True
        },
        "redirect":"/result/success",
        "component":"PageView"
    },
    {
        "name":"success",
        "parentId":10021,
        "id":10022,
        "meta":{
            "title":"成功",
            "hiddenHeaderContent":True,
            "show":True
        },
        "component":"ResultSuccess"
    },
    {
        "name":"fail",
        "parentId":10021,
        "id":10023,
        "meta":{
            "title":"失败",
            "hiddenHeaderContent":True,
            "show":True
        },
        "component":"ResultFail"
    },
    {
        "name":"exception",
        "parentId":0,
        "id":10024,
        "meta":{
            "title":"异常页",
            "icon":"warning",
            "show":True
        },
        "redirect":"/exception/403",
        "component":"RouteView"
    },
    {
        "name":"403",
        "parentId":10024,
        "id":10025,
        "meta":{
            "title":"403",
            "show":True
        },
        "component":"Exception403"
    },
    {
        "name":"404",
        "parentId":10024,
        "id":10026,
        "meta":{
            "title":"404",
            "show":True
        },
        "component":"Exception404"
    },
    {
        "name":"500",
        "parentId":10024,
        "id":10027,
        "meta":{
            "title":"500",
            "show":True
        },
        "component":"Exception500"
    },
    {
        "name":"account",
        "parentId":0,
        "id":10028,
        "meta":{
            "title":"个人页",
            "icon":"user",
            "show":True
        },
        "redirect":"/account/center",
        "component":"RouteView"
    },
    {
        "name":"center",
        "parentId":10028,
        "id":10029,
        "meta":{
            "title":"个人中心",
            "show":True
        },
        "component":"AccountCenter"
    },
    {
        "name":"settings",
        "parentId":10028,
        "id":10030,
        "meta":{
            "title":"个人设置",
            "hideHeader":True,
            "hideChildren":True,
            "show":True
        },
        "redirect":"/account/settings/basic",
        "component":"AccountSettings"
    },
    {
        "name":"BasicSettings",
        "path":"/account/settings/basic",
        "parentId":10030,
        "id":10031,
        "meta":{
            "title":"基本设置",
            "show":True
        },
        "component":"BasicSetting"
    },
    {
        "name":"SecuritySettings",
        "path":"/account/settings/security",
        "parentId":10030,
        "id":10032,
        "meta":{
            "title":"安全设置",
            "show":True
        },
        "component":"SecuritySettings"
    },
    {
        "name":"CustomSettings",
        "path":"/account/settings/custom",
        "parentId":10030,
        "id":10033,
        "meta":{
            "title":"个性化设置",
            "show":True
        },
        "component":"CustomSettings"
    },
    {
        "name":"BindingSettings",
        "path":"/account/settings/binding",
        "parentId":10030,
        "id":10034,
        "meta":{
            "title":"账户绑定",
            "show":True
        },
        "component":"BindingSettings"
    },
    {
        "name":"NotificationSettings",
        "path":"/account/settings/notification",
        "parentId":10030,
        "id":10034,
        "meta":{
            "title":"新消息通知",
            "show":False
        },
        "component":"NotificationSettings"
    }
]